<?php

declare ( strict_types = 1 );

namespace App\Command;

use App\Common as com;
use Hyperf\Command\Annotation\Command;
use Hyperf\Contract\ConfigInterface;
use Hyperf\DbConnection\Db;
use Psr\Container\ContainerInterface;

#[Command(name: "apiTest1")]
class ApiTest1 extends Base {

	/**
	 * @return void
	 * @throws
	 */
	public function handle():void {
		$data = com\Cla\Com\Api\Test::callApiOfCommonManageOfAdmin( 'applyToken', [
			'where' => [ 'ids' => [ 1 ] ],
		] );
		d( $data );

		/*
		$data = com\Cla\Com\Api\Test::callApiOfCommonManageOfAdmin( 'user.common.facility.container.group.getLists', [
			'where' => [ 'ids' => [ 1 ] ],
			'field' => [
				'dyInfo.onlineCount',
				'otherInfo'
			]
		] );
		d( $data );
		*/
	}

}